#include <string.h>
#include "uart.h"

void delay(unsigned char time)
{
	while (time!=0) {
		time--;
	}
}
void long_delay(unsigned int t1, unsigned int t2)
{	
	int i, j;
	for (i = 0; i < t1; i++) {
		for (j = 0; j < t2; j++);
	}
}

void log(char *str) {
	int len = strlen(str);
	uart_send_string(str, len);
}
